Using PVS to Prove a Z Refinement: A Case Study
نویسندگان
چکیده
The development of critical systems often places undue trust in the software tools used. This is especially true of compilers, which are a weak link between the source code produced and the object code which is executed. Stepney [23] advocates a method for the production of trusted compilers (i.e. those which are guaranteed to produce object code that is a correct renement of the source code) by developing a proof of a small, but non trivial compiler by hand in the Z specication language. This approach is quick, but the type system of Z is too weak to ensure that partial functions are correctly applied. Here, we present a re{working of that development using the PVS specication and verication system. We describe the problems involved in translating from the partial set theory of Z to the total, higher order logic of the PVS system and the strengths and weaknesses of this approach.
منابع مشابه
On the Verification of VDM Specification and Refinement with PVS
Although the formal method VDM has been in existence since the 1970’s, there are still no satisfactory tools to support verification in VDM. This paper deals with one possible means of approaching this problem by using the PVS theorem-prover. It describes a translation of a VDM-SL specification into the PVS specification language using, essentially, the very transparent translation methods desc...
متن کاملFormalising Eiffel References and Expanded Types in PVS
Ongoing work is described in which a theory of Eiffel reference and expanded (composite) types is formalised. The theory is expressed in the PVS specification language, thus enabling the use of the PVS theorem prover and model checker to semi-automatically prove properties about Eiffel structures and programs. The theory is being used as the basis for automated support for the Eiffel Refinement...
متن کاملProving safety properties of an aircraft landing protocol
This thesis presents an assertional-style verification of the aircraft landing protocol of NASA’s SATS (Small Aircraft Transportation System) concept of operation [16] using the timed and untimed I/O automata frameworks. We construct two mathematical models of the landing protocol using the above stated frameworks. First, we study a discrete model of the protocol, in which the airspace of the a...
متن کاملThe Formal Classification and Verification of Simpson's 4-Slot Asynchronous Communication Mechanism
This paper critiques and extends Lamport’s taxonomy of asynchronous registers, [Lam86a], [Lam86b]. This extended taxonomy is used to characterise Simpson’s 4-slot asynchronous communication mechanism (ACM), [Sim90], [Sim92], [Sim97a], [Sim97b], [Sim97c]. A formalisation of the Lamport atomic property and Simpson’s original 4-slot implementation is given in the PVS logic [OSRSC99a]. We prove tha...
متن کاملPVS Strategies for Proving Abstraction Properties of Automata
Abstractions are important in specifying and proving properties of complex systems. To prove that a given automaton implements an abstract specification automaton, one must first find the correct abstraction relation between the states of the automata, and then show that this relation is preserved by all corresponding action sequences of the two automata. This paper describes tool support based...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997